<template>
<div>
    <el-button type="text" @click="show = true">dakai</el-button>
    <el-dialog title="xasx" :visible="show">
        <span>sadas</span>
        <div slot="footer" class="dialog-footer">
            <el-button @click="show = false">取 消</el-button>
            <el-button type="primary" @click="show = false">确 定</el-button>
        </div>
    </el-dialog>
</div>
</template>
<script setup>
import { ref } from 'vue';

const show = ref(false)
</script>
